package com.ruipengkj.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

@Entity
@Table(name="tlpic")
public class TLPic implements Serializable {

	private static final long serialVersionUID = 1L;

	private String Name;
	
	private byte[] LPic;
	
	private String OldName;

	@Id
	@Column(name = "Name", length=20)
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	@Lob()
	@Column(name="LPic")
	public byte[] getLPic() {
		return LPic;
	}

	public void setLPic(byte[] lPic) {
		LPic = lPic;
	}

	@Column(name = "OldName", length=128)
	public String getOldName() {
		return OldName;
	}

	public void setOldName(String oldName) {
		OldName = oldName;
	}
	
	
}
